- emails_disabled = project.emails_disabled?

%li
  .gl-justify-between.gl-items-center{ class: '@md/panel:gl-flex' }
    .gl-mb-2{ class: '@md/panel:gl-mb-0' }
      %span.gl-mr-2
        = notification_icon(notification_icon_level(setting, emails_disabled))

      %span
        = link_to_project(project)

    .gl-flex.gl-gap-3.gl-flex-wrap
      - if setting
        .js-vue-notification-dropdown{ data: { disabled: emails_disabled.to_s, dropdown_items: notification_dropdown_items(setting).to_json, notification_level: setting.level, help_page_path: help_page_path('user/profile/notifications.md'), project_id: project.id, container_class: 'gl-mr-3', show_label: "true" } }
